package com.letu.core.rocketmq;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class RocketTopicData {

    /**
     * auth服务
     */
    public static List<String> authTopicTagOfBusiness = new ArrayList<>();


    /**
     * 单事件服务
     * gatewy服务
     */
    public static List<String> gatewayTopicTagOfBusiness = new ArrayList<>();

    public static List<String> getAuthTopicTagOfBusiness() {
        return authTopicTagOfBusiness;
    }

    public static List<String> getGatewayTopicTagOfBusiness() {
        return gatewayTopicTagOfBusiness;
    }

    public static void setAuthTopicTagOfBusiness(List<String> authTopicTagOfBusiness) {
        RocketTopicData.authTopicTagOfBusiness = authTopicTagOfBusiness;
    }

    public static void setGatewayTopicTagOfBusiness(List<String> gatewayTopicTagOfBusiness) {
        RocketTopicData.gatewayTopicTagOfBusiness = gatewayTopicTagOfBusiness;
    }
}
